﻿using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using Bunian.Core.BusinessObjects;

namespace Bunian.Core.BusinessObjects
{
    public class SponsorshipCollection
    {
        private IList _colSponsorship;

        public SponsorshipCollection(IList sponsorships)
        {
            _colSponsorship = sponsorships;
        }

        public void Add(Sponsorship spon)
        {
            if (spon != null && !_colSponsorship.Contains(spon))
            {
                _colSponsorship.Add(spon); 
            }
        }
    }
}